<?php
/**
 * Created by PhpStorm.
 * User: win10
 * Date: 2020/3/4
 * Time: 20:11
 */


namespace app\portal\model;

use think\Model;

class CategoryModel extends Model{
    public $page = 10;
    public function category_list($wher=[]){
        $category = $this->where($wher)->paginate($this->page);
        return $category;

    }
}